package cn.echase.common.core.enums;

import lombok.Getter;

/**
 * TODO 让文博创建 2.3.0 的echase-common-core -->
 */
@Deprecated
@Getter
public enum ResultCode {

    FAIL(-1, "操作失败"),
    SUCCESS(0, "成功"),
    SUCCESS2(200, "成功");

    private final Integer code;

    private final String message;

    private ResultCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
